(function (locale) {
    locale.cn = locale.cn || {};
    locale.en = locale.en || {};
    locale.cn.title = '添加场所';
    locale.cn.buttonTitle = "添加";
    locale.cn.deviceType = ["物理设备","虚拟设备"];
    locale.cn.list = [{
        name: '场所名称',
        desc: '请输入20个以内字符',
        tips:"场所名称必须是20个以内字符，不能以数字开头"
    }, {
        name: '场景分类',
        desc: '请选择场景分类',
        tips: '请选择场所分类信息'
    }, {
        name: '所属区域',
        desc: '请选择所属区域',
        tips: '请选择所属区域信息'
    }, {
        name: '所属行业',
        desc: '请选择所属行业',
        tips: '请选择所属行业信息'
    }, {
        name: '场所地址',
        desc: '请选择场所地址',
        tips: '请选择场所地址信息'
    }, {
        name: '详细地址',
        desc: '请输入详细地址',
        tips: ''
    }, {
        name: '电话号码',
        desc: '请输入电话号码',
        tips: '请输入正确的电话号码格式'
    }, {
        name: '场所简介',
        desc: '请输入场所简介',
        tips: ''
    }];
    locale.cn.failureTips = "添加场所信息失败";
    locale.cn.getClassFailTips = "获取场景分类失败";
    locale.cn.getRegionFailTips = "获取所属区域失败";
    locale.cn.getIndustryFailTips = "获取所属行业失败";
    
    locale.en.title = '';
    locale.en.buttonTitle = "";
    locale.en.deviceType = [];
    locale.en.list = [{
        name: '',
        desc: ''
    }, {
        name: '',
        desc: ''
    }, {
        name: '',
        desc: ''
    }, {
        name: '',
        desc: ''
    }];
}(window.locale = window.locale || {}));